<%@ page language="java" import="java.util.*,com.knife.news.logic.NewsService,com.knife.news.logic.impl.NewsServiceImpl,com.knife.news.object.News" pageEncoding="UTF-8"%>
<%@ page import="com.knife.news.object.Type,com.knife.news.logic.TypeService,com.knife.news.logic.impl.TypeServiceImpl"%>
<%@include file="checkuser.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>客服电话</title>
<style type="text/css">
body{
	margin:0px;
	padding:0px;
}
.data_list{
	width:806px;
	font-size:12px;
	border-left:1px solid #BCC3CD;
}
.data_list th{
	height:30px;
	border-bottom:1px solid gray;
	color:white;
	background:url('/user/skin/images/document/title_bg.jpg') bottom repeat-x;
}
.data_list th div.title{
	position:relative;
	height:25px;
	_height:1%;
	line-height:25px;
}
.data_list td{
	height:19px;
	text-align:center;
	border-bottom:1px solid #BCC3CD;
	border-right:1px solid #BCC3CD;
}
.datatype{
	display:none;
	position:absolute;
	top:20px;
	right:0px;
	width:90px;
	line-height:150%!important;
	height:auto!important;
	_height:220px;
	max-height:220px;
	overflow-y:auto;
	border:1px solid gray;
	background:white;
	z-index:100;
}
.datatype ul{list-style-type:none;margin-left:0px;padding:0}
.datatype ul li{list-style-type:none;margin-left:0px;padding:0;text-align:center;}
.datatype ul li a{font-weight:normal}
#data_main{
	border-left:1px solid #BCC3CD;
	border-top:1px solid #BCC3CD;
}
#data_main td.inputText{text-align:left;padding:1px;}
.data_list td p{
	width:95%;
	margin:8px;
}
</style>
</head>
<body>
	<table class="data_list" cellspacing="0" cellpadding="0">
		<%
		News aDoc=null;
		NewsService newsDAO=new NewsServiceImpl();
		List<News> anews=newsDAO.getTopNews("1301119526475591",1);
		if(anews.size()>0){
			aDoc=anews.get(0);
		}
		if(aDoc!=null){
		%>
		<tr>
			<th><%=aDoc.getTitle()%></th>
		</tr>
		<tr>
			<td><%=aDoc.getContent()%></td>
		</tr>
		<%}%>
	</table>
</body>
</html>